package juc;

import java.util.concurrent.TimeUnit;

public class Demo1 {
    public static void main(String[] args) {
        //获取CPU核数
        System.out.println(Runtime.getRuntime().availableProcessors());

        new Thread();

        //休眠一天
//        TimeUnit.DAYS.sleep(1);
    }
}
